﻿using LinQProject;
using LinQProject.Repository;

namespace ServiceProject.EntityService
{
    public class InvoiceService:DataBaseProcessBase<Invoice>
    {
        public InvoiceService( FarmacieDataClassesDataContext database) : base(database)
        {}

        public object InsertInvoice(Invoice newInvoice)
        {
            return  base.Add(newInvoice, "InvoiceId");
        }
    }
}
